package com.kaiyidiannao.model.bean;

import java.io.Serializable;
import java.util.Map;
import java.util.TreeMap;

/**
 * Created by david on 14-5-4.
 * 购物车用
 */
public class ShoppingCarBean implements Serializable {
    private String number;
    private String itemid;
    private String v1;
    private String v2;
    private String v3;
    private String key; //商品规格key


    private Map<String, String> keyNumbers = new TreeMap<String, String>();

    private String areaid;
    private String address;
    private String postcode;
    private String truename;
    private String mobile;
    private String telephone;
    private String receive; // EMS
    private String totalprice; //总价格
    private String payment; //支付方式

    public ShoppingCarBean() {
    }

    public ShoppingCarBean(String address, String truename, String mobile, String receive, String totalprice) {
        this.address = address;
        this.truename = truename;
        this.mobile = mobile;
        this.receive = receive;
        this.totalprice = totalprice;
    }

    @Override
    public String toString() {
        return "ShoppingCarBean{" +
                "number='" + number + '\'' +
                ", itemid='" + itemid + '\'' +
                ", v1='" + v1 + '\'' +
                ", v2='" + v2 + '\'' +
                ", v3='" + v3 + '\'' +
                ", key='" + key + '\'' +
                ", areaid='" + areaid + '\'' +
                ", address='" + address + '\'' +
                ", postcode='" + postcode + '\'' +
                ", truename='" + truename + '\'' +
                ", mobile='" + mobile + '\'' +
                ", telephone='" + telephone + '\'' +
                ", receive='" + receive + '\'' +
                '}';
    }

    public Map<String, String> getKeyNumbers() {
        return keyNumbers;
    }

    public void setKeyNumbers(Map<String, String> keyNumbers) {
        this.keyNumbers = keyNumbers;
    }

    public String getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(String totalprice) {
        this.totalprice = totalprice;
    }


    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getItemid() {
        return itemid;
    }

    public void setItemid(String itemid) {
        this.itemid = itemid;
    }

    public String getV1() {
        return v1;
    }

    public void setV1(String v1) {
        this.v1 = v1;
    }

    public String getV2() {
        return v2;
    }

    public void setV2(String v2) {
        this.v2 = v2;
    }

    public String getV3() {
        return v3;
    }

    public void setV3(String v3) {
        this.v3 = v3;
    }

    public String getAreaid() {
        return areaid;
    }

    public void setAreaid(String areaid) {
        this.areaid = areaid;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getReceive() {
        return receive;
    }

    public void setReceive(String receive) {
        this.receive = receive;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
